package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 竞赛获奖对象 xg_competition
 * 
 * @author coderChen
 * @date 2024-01-09
 */
public class Competition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 获奖人 */
    @Excel(name = "获奖人")
    private String winnerName;

    /** 奖项名称 */
    @Excel(name = "奖项名称")
    private String awardName;

    /** 获奖时间 */
    @Excel(name = "获奖时间")
    private String awardTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWinnerName(String winnerName) 
    {
        this.winnerName = winnerName;
    }

    public String getWinnerName() 
    {
        return winnerName;
    }
    public void setAwardName(String awardName) 
    {
        this.awardName = awardName;
    }

    public String getAwardName() 
    {
        return awardName;
    }
    public void setAwardTime(String awardTime) 
    {
        this.awardTime = awardTime;
    }

    public String getAwardTime() 
    {
        return awardTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("winnerName", getWinnerName())
            .append("awardName", getAwardName())
            .append("awardTime", getAwardTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
